package com.sddz.pacs.mapper;

import com.sddz.pacs.entity.SysRolePermission;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 系统角色权限表 Mapper 接口
 * </p>
 *
 * @author 时代电子
 * @since 2018-05-16
 */
public interface SysRolePermissionMapper extends BaseMapper<SysRolePermission> {

    boolean save(Map<String,Object> sysRolePermission);

    Set<String> getPermissionsByRoleId(String roleId);
}
